//
//  TYHEncourangeViewController.m
//  OpenPractice
//
//  Created by tanyuehong on 16/2/29.
//  Copyright © 2016年  lijinghua. All rights reserved.
//

#import "TYHEncourangeViewController.h"

@interface TYHEncourangeViewController ()

@end

@implementation TYHEncourangeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self initBtn];
}

- (void)refresh {
    
}

- (void)initBtn {
    UIButton *myTest = [[UIButton alloc] initWithFrame:CGRectMake(100, 300, 60, 40)];
    myTest.backgroundColor = [UIColor redColor];
    [self.view addSubview:myTest];
    [myTest addTarget:self action:@selector(testBtnClick:) forControlEvents:UIControlEventTouchDown];
}

- (void)testBtnClick:(UIButton *)btn {
//    TYHTestController *testVC = [[TYHTestController alloc] init];
//    [self presentViewController:testVC animated:YES completion:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
